{% extends "bootstrap/base.html" %}

{% block title %}Flasky{% endblock %}

{% block head %}
{{ super() }}
<link rel="shortcut icon" href="{{ url_for('static', filename='favicon.ico') }}" type="image/x-icon">
<link rel="icon" href="{{ url_for('static', filename='favicon.ico') }}" type="image/x-icon">
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='styles.css') }}">
{% endblock %}

{% block navbar %}
<div class="navbar navbar-inverse" role="navigation">
    <div class="container">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="{{ url_for('main.index') }}">Flasky</a>
        </div>
        <div class="navbar-collapse collapse">
            <ul class="nav navbar-nav navbar-right">
                <li><a href="{{ url_for('auth.login') }}">Log In</a></li>
                <li><a href="{{ url_for('admin.upload_file') }}">upload</a></li>
                <li><a href="{{ url_for('admin.adminIndex') }}">admin</a></li>
            </ul>
        </div>

    </div>
    <div class="container">
        <div class="navbar-header">
            <a class="navbar-brand" href="{{ url_for('main.main_course') }}">allCouse</a>

            <a class="navbar-brand" href="{{ url_for('main.main_path') }}">path</a>

            <a class="navbar-brand" href="{{ url_for('main.main_match') }}">match</a>

            <a class="navbar-brand" href="{{ url_for('main.main_cloudear') }}">cloudearDic</a>

            <a class="navbar-brand" href="{{ url_for('main.main_college') }}">CollegDic</a>

            <a class="navbar-brand" href="{{ url_for('main.main_notice') }}">Notice</a>


        </div>
        <div class="navbar-collapse collapse">
            <ul class="nav navbar-nav navbar-right">
                <ul class="nav navbar-nav">
                    <li><input type="search" autocomplete="False" name="Cource" required="True"></li>
                    <li><button type="button" class="navbar-toggle">Search</li>
                </ul>
            </ul>
        </div>
    </div>
</div>
{% endblock %}

{% block content %}
<div class="container">
    {% for message in get_flashed_messages() %}
    <div class="alert alert-warning">
        <button type="button" class="close" data-dismiss="alert">&times;</button>
        {{ message }}
    </div>
    {% endfor %}

    {% block page_content %}{% endblock %}
</div>
{% endblock %}